package cn.xmstore.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ZhangZL
 * @date 2021/8/20  17:12
 * order类  订单表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)//实现链式加载
public class Order {
    private Integer id;
    private Date createTime; //下单时间
    private Date payTime;   //付款时间
    private Date distributionTime;   //配货时间
    private Date deliveryTime;    //出库时间
    private Date completionTime;  //完成时间
    private String  orderStatus;   //订单状态
    private BigDecimal orderPrice;  //订单总价
    private String useraddressCconsignee;  //外键关联用户地址表收货人字段




}
